#ifndef _DEAL_H_
#define _DEAL_H_

#include "sqlite.h"
#include "employee_errono.h"

enum CMD
{
	LOGIN = 0,
	REG,
	CATU,
	UPPWD,
	UPU,
	DELU
}; 

#define DBERR 10

extern int loginDeal(sqlite3 *dbEntry, Mesg *message);
extern int registerDeal(sqlite3 *dbEntry, Mesg *message);
extern int catUserInfoDeal(sqlite3 *dbEntry, Mesg *message);
extern int updatePasswdDeal(sqlite3 *dbEntry, Mesg *message);
extern int updateUserInfoDeal(sqlite3 *dbEntry, Mesg *message);
extern int deleteUserDeal(sqlite3 *dbEntry, Mesg *message);

#endif /* _DEAL_H_ */

